x86/asm: allow some unlikely taken branches to be statically predicted this way
authorKeir Fraser <keir@xen.org>
Thu, 16 Dec 2010 18:37:20 +0000 (18:37 +0000)
committerKeir Fraser <keir@xen.org>
Thu, 16 Dec 2010 18:37:20 +0000 (18:37 +0000)
commitc69d84d0a9937aac19dfe10afe64df3bc2c74aed
treece24dd8fb28a36acf014997ce2291818a4fb1389
parentd4700445c1b02a9d9e2ad8806445c5dffb4e2c53
x86/asm: allow some unlikely taken branches to be statically predicted this way

... by moving the respective code out of line (into sub-section 1 of
the particular section). A few other branches could be eliminated
altogether.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/x86_32/entry.S
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S
xen/include/asm-x86/asm_defns.h
xen/include/asm-x86/x86_32/asm_defns.h
xen/include/xen/stringify.h [new file with mode: 0644]